
 $(function(){
    //图文朋友圈图片打开效果
   $(document).on('click','.pic_bar li',function () {
     var list_pic='[';
     list_pic+="'"+$(this).find("img").attr("src") + "',";
     $(this).siblings().each(function(index){
        list_pic+="'"+$(this).find("img").attr("src") + "',";
     });
    list_pic=list_pic+"]";
    list_pic=eval(list_pic);
    var myPhotoBrowserPopup = $.photoBrowser({
      photos : list_pic,
    theme: 'dark',
    type: 'standalone'
    });
    myPhotoBrowserPopup.open();
  });

  //点击复制
  $(document).on("click",".copy",function(){
      var text = $(this).siblings(".text").text();
      //document.clipboardData.setData('text',text);
      alert(clipboardData.getData("text"));
  }); 


})